[INFO] cloning repository https://github.com/Its-its/rust-xpath
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Its-its/rust-xpath" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIts-its%2Frust-xpath", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIts-its%2Frust-xpath'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d2ba13f67e028b19e08d5faa2216bb939088175
[INFO] checking Its-its/rust-xpath against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIts-its%2Frust-xpath" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Its-its/rust-xpath on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Its-its/rust-xpath
[INFO] finished tweaking git repo https://github.com/Its-its/rust-xpath
[INFO] tweaked toml for git repo https://github.com/Its-its/rust-xpath written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/Its-its/rust-xpath already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.respository
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f2006cdc3e889b67fa099117474da0c17737611781e59df4a374d4d1f26acf3
[INFO] running `Command { std: "docker" "start" "-a" "5f2006cdc3e889b67fa099117474da0c17737611781e59df4a374d4d1f26acf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f2006cdc3e889b67fa099117474da0c17737611781e59df4a374d4d1f26acf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f2006cdc3e889b67fa099117474da0c17737611781e59df4a374d4d1f26acf3", kill_on_drop: false }`
[INFO] [stdout] 5f2006cdc3e889b67fa099117474da0c17737611781e59df4a374d4d1f26acf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5516fffe1e3a223087d070276c6b859184fac5325183decb292e64f86e0716d5
[INFO] running `Command { std: "docker" "start" "-a" "5516fffe1e3a223087d070276c6b859184fac5325183decb292e64f86e0716d5", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.respository
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling siphasher v0.3.1
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]     Checking new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]     Checking futf v0.1.4
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking tendril v0.4.1
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]     Checking aho-corasick v0.7.8
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]     Checking string_cache v0.8.0
[INFO] [stderr]    Compiling markup5ever v0.10.1
[INFO] [stderr]     Checking xml5ever v0.16.1
[INFO] [stderr]    Compiling html5ever v0.25.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking markup5ever_rcdom v0.1.0
[INFO] [stderr]     Checking xpather v0.3.0-beta.6 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/expressions.rs:670:2
[INFO] [stdout]     |
[INFO] [stdout] 429 | impl Path {
[INFO] [stdout]     |           - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 453 |         while let Some(mut grouping) = self.remove_grouping() {
[INFO] [stdout]     |                                                               - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 514 |     }
[INFO] [stdout]     |     - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 670 | }
[INFO] [stdout]     |  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:571:1
[INFO] [stdout]     |
[INFO] [stdout] 571 | impl Expression for Path {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:583:1
[INFO] [stdout]     |
[INFO] [stdout] 583 | pub struct Step {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the struct out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:589:1
[INFO] [stdout]     |
[INFO] [stdout] 589 | impl Step {
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:629:1
[INFO] [stdout]     |
[INFO] [stdout] 629 | struct Predicate(ExpressionArg);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the struct out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:631:1
[INFO] [stdout]     |
[INFO] [stdout] 631 | impl Predicate {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:646:1
[INFO] [stdout]     |
[INFO] [stdout] 646 | pub struct Function(Box<dyn functions::Function>, Vec<ExpressionArg>);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the struct out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:648:1
[INFO] [stdout]     |
[INFO] [stdout] 648 | impl Function {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:654:1
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl Expression for Function {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/expressions.rs:670:2
[INFO] [stdout]     |
[INFO] [stdout] 429 | impl Path {
[INFO] [stdout]     |           - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 453 |         while let Some(mut grouping) = self.remove_grouping() {
[INFO] [stdout]     |                                                               - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 514 |     }
[INFO] [stdout]     |     - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 670 | }
[INFO] [stdout]     |  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:571:1
[INFO] [stdout]     |
[INFO] [stdout] 571 | impl Expression for Path {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:583:1
[INFO] [stdout]     |
[INFO] [stdout] 583 | pub struct Step {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the struct out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:589:1
[INFO] [stdout]     |
[INFO] [stdout] 589 | impl Step {
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:629:1
[INFO] [stdout]     |
[INFO] [stdout] 629 | struct Predicate(ExpressionArg);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the struct out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:631:1
[INFO] [stdout]     |
[INFO] [stdout] 631 | impl Predicate {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:646:1
[INFO] [stdout]     |
[INFO] [stdout] 646 | pub struct Function(Box<dyn functions::Function>, Vec<ExpressionArg>);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the struct out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:648:1
[INFO] [stdout]     |
[INFO] [stdout] 648 | impl Function {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s
[INFO] [stdout]    --> src/expressions.rs:654:1
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl Expression for Function {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider moving the implementation out to a nearby module scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/expressions.rs:516:24
[INFO] [stdout]     |
[INFO] [stdout] 516 |     pub fn find_next_node(&mut self, eval: &Evaluation) -> Result<Option<Node>> {
[INFO] [stdout]     |                           ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/expressions.rs:540:18
[INFO] [stdout]     |
[INFO] [stdout] 540 |     fn process_node(&mut self, found_node: MoreNodes<PrePredicate>, eval: &Evaluation, grouping: &mut NodeSearch) -> Result<MoreNodes<No...
[INFO] [stdout]     |                     ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::expressions::Step`
[INFO] [stdout]  --> src/context.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Document, Node, AxisName, NodeTest, expressions::Step, Result
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^ no `Step` in `expressions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::expressions::Function`, `crate::expressions::Step`
[INFO] [stdout]  --> src/factory.rs:6:76
[INFO] [stdout]   |
[INFO] [stdout] 6 | ...onArg, Function, GreaterThan, GreaterThanEqual, LessThan, LessThanEqual, Literal, NotEqual, Once, Or, Path, RootNode, Step, Subtractio...
[INFO] [stdout]   |           ^^^^^^^^                                                                                                       ^^^^ no `Step` in `expressions`
[INFO] [stdout]   |           |
[INFO] [stdout]   |           no `Function` in `expressions`
[INFO] [stdout]   |           help: a similar name exists in the module: `functions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer function
[INFO] [stdout]    --> src/expressions.rs:516:24
[INFO] [stdout]     |
[INFO] [stdout] 429 | impl Path {
[INFO] [stdout]     | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 516 |     pub fn find_next_node(&mut self, eval: &Evaluation) -> Result<Option<Node>> {
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           use of generic parameter from outer function
[INFO] [stdout]     |                           use a type here instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer function
[INFO] [stdout]    --> src/expressions.rs:540:18
[INFO] [stdout]     |
[INFO] [stdout] 429 | impl Path {
[INFO] [stdout]     | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 540 |     fn process_node(&mut self, found_node: MoreNodes<PrePredicate>, eval: &Evaluation, grouping: &mut NodeSearch) -> Result<MoreNodes<No...
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     use of generic parameter from outer function
[INFO] [stdout]     |                     use a type here instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Step` in this scope
[INFO] [stdout]    --> src/expressions.rs:420:25
[INFO] [stdout]     |
[INFO] [stdout] 420 |     pub steps: Vec<RefCell<Step>>,
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 25  | use core::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 25  | use std::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Step` in this scope
[INFO] [stdout]    --> src/expressions.rs:430:50
[INFO] [stdout]     |
[INFO] [stdout] 430 |     pub fn new(start_pos: ExpressionArg, steps: Vec<Step>) -> Self {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 25  | use core::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 25  | use std::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Args`, `FoundNode`, `self`
[INFO] [stdout]   --> src/expressions.rs:27:46
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::{context::{NodeSearch, MoreNodes, FoundNode, PrePredicate}, functions::{self, Args}, value::Value};
[INFO] [stdout]    |                                              ^^^^^^^^^                             ^^^^  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AxisName`, `NodeTest`
[INFO] [stdout]   --> src/expressions.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::{AxisName, Evaluation, Node, NodeTest, Result};
[INFO] [stdout]    |             ^^^^^^^^                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/expressions.rs:516:24
[INFO] [stdout]     |
[INFO] [stdout] 516 |     pub fn find_next_node(&mut self, eval: &Evaluation) -> Result<Option<Node>> {
[INFO] [stdout]     |                           ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/expressions.rs:540:18
[INFO] [stdout]     |
[INFO] [stdout] 540 |     fn process_node(&mut self, found_node: MoreNodes<PrePredicate>, eval: &Evaluation, grouping: &mut NodeSearch) -> Result<MoreNodes<No...
[INFO] [stdout]     |                     ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::expressions::Step`
[INFO] [stdout]  --> src/context.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Document, Node, AxisName, NodeTest, expressions::Step, Result
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^ no `Step` in `expressions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::expressions::Function`, `crate::expressions::Step`
[INFO] [stdout]  --> src/factory.rs:6:76
[INFO] [stdout]   |
[INFO] [stdout] 6 | ...onArg, Function, GreaterThan, GreaterThanEqual, LessThan, LessThanEqual, Literal, NotEqual, Once, Or, Path, RootNode, Step, Subtractio...
[INFO] [stdout]   |           ^^^^^^^^                                                                                                       ^^^^ no `Step` in `expressions`
[INFO] [stdout]   |           |
[INFO] [stdout]   |           no `Function` in `expressions`
[INFO] [stdout]   |           help: a similar name exists in the module: `functions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer function
[INFO] [stdout]    --> src/expressions.rs:516:24
[INFO] [stdout]     |
[INFO] [stdout] 429 | impl Path {
[INFO] [stdout]     | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 516 |     pub fn find_next_node(&mut self, eval: &Evaluation) -> Result<Option<Node>> {
[INFO] [stdout]     |                           ^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           use of generic parameter from outer function
[INFO] [stdout]     |                           use a type here instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0401]: can't use generic parameters from outer function
[INFO] [stdout]    --> src/expressions.rs:540:18
[INFO] [stdout]     |
[INFO] [stdout] 429 | impl Path {
[INFO] [stdout]     | ---- `Self` type implicitly declared here, by this `impl`
[INFO] [stdout] ...
[INFO] [stdout] 540 |     fn process_node(&mut self, found_node: MoreNodes<PrePredicate>, eval: &Evaluation, grouping: &mut NodeSearch) -> Result<MoreNodes<No...
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     use of generic parameter from outer function
[INFO] [stdout]     |                     use a type here instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Step` in this scope
[INFO] [stdout]    --> src/expressions.rs:420:25
[INFO] [stdout]     |
[INFO] [stdout] 420 |     pub steps: Vec<RefCell<Step>>,
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 25  | use core::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 25  | use std::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Step` in this scope
[INFO] [stdout]    --> src/expressions.rs:430:50
[INFO] [stdout]     |
[INFO] [stdout] 430 |     pub fn new(start_pos: ExpressionArg, steps: Vec<Step>) -> Self {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 25  | use core::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 25  | use std::iter::Step;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Args`, `FoundNode`, `self`
[INFO] [stdout]   --> src/expressions.rs:27:46
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::{context::{NodeSearch, MoreNodes, FoundNode, PrePredicate}, functions::{self, Args}, value::Value};
[INFO] [stdout]    |                                              ^^^^^^^^^                             ^^^^  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AxisName`, `NodeTest`
[INFO] [stdout]   --> src/expressions.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::{AxisName, Evaluation, Node, NodeTest, Result};
[INFO] [stdout]    |             ^^^^^^^^                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `expressions::Path: Expression` is not satisfied
[INFO] [stdout]    --> src/factory.rs:473:25
[INFO] [stdout]     |
[INFO] [stdout] 473 |                 Ok(Some(Box::new(Path::new(start_point, steps))))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Expression` is not implemented for `expressions::Path`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Expression`:
[INFO] [stdout]               Addition
[INFO] [stdout]               And
[INFO] [stdout]               ContextNode
[INFO] [stdout]               GreaterThan
[INFO] [stdout]               GreaterThanEqual
[INFO] [stdout]               LessThan
[INFO] [stdout]               LessThanEqual
[INFO] [stdout]               Literal
[INFO] [stdout]             and 7 others
[INFO] [stdout]     = note: required for the cast from `expressions::Path` to the object type `dyn Expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `process_node` found for mutable reference `&mut expressions::Path` in the current scope
[INFO] [stdout]    --> src/expressions.rs:461:15
[INFO] [stdout]     |
[INFO] [stdout] 461 |             match self.process_node(found_node, eval, &mut grouping)? {
[INFO] [stdout]     |                        ^^^^^^^^^^^^ method not found in `&mut expressions::Path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `expressions::Path: Expression` is not satisfied
[INFO] [stdout]    --> src/factory.rs:473:25
[INFO] [stdout]     |
[INFO] [stdout] 473 |                 Ok(Some(Box::new(Path::new(start_point, steps))))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Expression` is not implemented for `expressions::Path`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Expression`:
[INFO] [stdout]               Addition
[INFO] [stdout]               And
[INFO] [stdout]               ContextNode
[INFO] [stdout]               GreaterThan
[INFO] [stdout]               GreaterThanEqual
[INFO] [stdout]               LessThan
[INFO] [stdout]               LessThanEqual
[INFO] [stdout]               Literal
[INFO] [stdout]             and 7 others
[INFO] [stdout]     = note: required for the cast from `expressions::Path` to the object type `dyn Expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/expressions.rs:513:3
[INFO] [stdout]     |
[INFO] [stdout] 453 | /         while let Some(mut grouping) = self.remove_grouping() {
[INFO] [stdout] 454 | |             let (
[INFO] [stdout] 455 | |                 found_node,
[INFO] [stdout] 456 | |                 append_states
[INFO] [stdout] ...   |
[INFO] [stdout] 513 | |         Ok(None)
[INFO] [stdout]     | |         ^^^^^^^^ expected `()`, found enum `std::result::Result`
[INFO] [stdout] 514 | |     }
[INFO] [stdout]     | |_____- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `std::result::Result<Option<_>, _>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]     |
[INFO] [stdout] 513 |         return Ok(None);
[INFO] [stdout]     |         ++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/expressions.rs:452:68
[INFO] [stdout]     |
[INFO] [stdout] 452 |     pub fn find_next_node_with_steps(&mut self, eval: &Evaluation) -> Result<Option<Node>> {
[INFO] [stdout]     |            -------------------------                                  ^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
[INFO] [stdout]     |            |
[INFO] [stdout]     |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `std::result::Result<Option<value::Node>, result::Error>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0401, E0412, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xpather` due to 22 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `process_node` found for mutable reference `&mut expressions::Path` in the current scope
[INFO] [stdout]    --> src/expressions.rs:461:15
[INFO] [stdout]     |
[INFO] [stdout] 461 |             match self.process_node(found_node, eval, &mut grouping)? {
[INFO] [stdout]     |                        ^^^^^^^^^^^^ method not found in `&mut expressions::Path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/expressions.rs:513:3
[INFO] [stdout]     |
[INFO] [stdout] 453 | /         while let Some(mut grouping) = self.remove_grouping() {
[INFO] [stdout] 454 | |             let (
[INFO] [stdout] 455 | |                 found_node,
[INFO] [stdout] 456 | |                 append_states
[INFO] [stdout] ...   |
[INFO] [stdout] 513 | |         Ok(None)
[INFO] [stdout]     | |         ^^^^^^^^ expected `()`, found enum `std::result::Result`
[INFO] [stdout] 514 | |     }
[INFO] [stdout]     | |_____- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `std::result::Result<Option<_>, _>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]     |
[INFO] [stdout] 513 |         return Ok(None);
[INFO] [stdout]     |         ++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/expressions.rs:452:68
[INFO] [stdout]     |
[INFO] [stdout] 452 |     pub fn find_next_node_with_steps(&mut self, eval: &Evaluation) -> Result<Option<Node>> {
[INFO] [stdout]     |            -------------------------                                  ^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
[INFO] [stdout]     |            |
[INFO] [stdout]     |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `std::result::Result<Option<value::Node>, result::Error>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xpather` due to 22 previous errors; 2 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0401, E0412, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5516fffe1e3a223087d070276c6b859184fac5325183decb292e64f86e0716d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5516fffe1e3a223087d070276c6b859184fac5325183decb292e64f86e0716d5", kill_on_drop: false }`
[INFO] [stdout] 5516fffe1e3a223087d070276c6b859184fac5325183decb292e64f86e0716d5
